<div class="full-height full-width" fwa-layout-container data-main="true"  >
	<div fwa-layout-box="north"  style="height: 40px;">
		<div search-form class="container-search" data-submit="onSubmit();"
		     data-reset="onReset();" data-heights="[40,80]"  >
			<div class="row form-group">
				<div class="col-xs-4">
					<label class="col-xs-4 control-label text-right">
						<span class="red">* </span>
						机构名称:
					</label>
					<div class="col-xs-8">
						<select-container container-data="drugStoreService.medicalOrgInfoList" text="medicalOrgName" 
						    code="medicalOrgCode" result="form.orgName" 
						    data-type="true"  search-datas="['medicalOrgName','namePysr','nameWubi']" >
						</select-container>
					</div>
				</div>
				<div class="col-xs-4">
					<label class="col-xs-4 control-label text-right">
						<span class="red">* </span>
						考评年度:
					</label>
					<div class="col-xs-8">
					    <input class="form-control" fwa-datetime data-type="decade" data-format="yyyy" ng-model="form.evaluationYear">
					</div>
				</div>
				<div class="col-xs-4">
					<label class="col-xs-4 control-label text-right">
						床位情况:
					</label>
					<div class="col-xs-8">
						<aritificial-select container-data="containerDatas" data-show-name="name" data-result-name="code" data-result="form.bedName">
						</aritificial-select>
					</div>
				</div>
			</div>
			<div ng-hide="searchMoreHide">
				<div class="row form-group" >
					<div class="col-xs-4">
						<label class="col-xs-4 control-label text-right">
							考评得分:
						</label>
						<div class="col-xs-8">
							<aritificial-select container-data="evaluationScroes" data-show-name="name" data-result-name="code" data-result="form.evaluationScroe">
							</aritificial-select>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div fwa-layout-box="center" padding="true">
		<table class="table fwa-table table-bordered table-striped ">
            <thead>
            <tr>
                <th rowspan="2" width="10%" style="vertical-align: middle;">
					考评年度
                </th>
                <th rowspan="2" width="15%" style="vertical-align: middle;">
					机构名称
                </th>
                <th rowspan="2" width="10%" style="vertical-align: middle;">
					机构级别
                </th>
                <th rowspan="2" width="10%" style="vertical-align: middle;">
            	 	床位情况
                </th>
                <th colspan="{{columns.length}}" class="text-center" width="40%" >
              		考评得分
                </th>
                <th rowspan="2" width="7%" style="vertical-align: middle;">
                	状态
                </th>
                <th rowspan="2" width="7%" style="vertical-align: middle;">
              	 	操作
                </th>
            </tr>
             <tr>
             	<th ng-repeat="column in columns" width="{{column.width}}">
                   	<span ng-bind="column.label">
                   	</span>
                </th>
            </tr>
            </thead>
            <tbody >
            	<tr  ng-repeat="data in tableData">
	            	<td>
	            		<span ng-bind="data.evaluationYear">
	            		</span>
	            	</td>
	            	<td>
	            		<span ng-bind="data.orgName">
	            		</span>
	            	</td>
	            	<td>
	            		<span ng-bind="data.orgLevelName">
	            		</span>
	            	</td>
	            	<td>
	            		<span ng-bind="data.bedName">
	            		</span>
	            	</td>
	            	<td ng-repeat="column in columns">
		            	<span ng-bind="data[column.map]">
		            	</span>
	            	</td>
	            	<td>
	            		<span ng-bind="data.statusName">
	            		</span>
	            	</td>
	            	<td>
		               <a  ng-click="operation(data);">审批</a>
	            	</td>
            	</tr>
            </tbody>
           </table>
	</div>
	<div fwa-layout-box="south" padding="true" class="page-height">
		<div class="col-xs-12">
			<page-tool total-count="totalCount"  current-page="current.currentPage"
			           data-limit="current.limit">
			</page-tool>
		</div>
	</div>
</div>
<fwa-loading data-show="loading">
	加载中...
</fwa-loading>
